home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / ui / hud_ammo_bar.urc < prev    next >
Encoding:
Text File  |  2002-10-21  |  2.2 KB  |  115 lines

  1. menu "hud_ammo_BAR" 288 263 NONE 1
  2. bgcolor 0 0 0 0
  3. fgcolor 1 1 1 1
  4. align right bottom
  5.  
  6. //==================================================
  7. // Ammo Clip Bullets Bar
  8.  
  9. // back one, shifted down and to the right
  10. resource
  11. Label
  12. {
  13. name "clipbulletse"
  14. rect 213 88 64 160
  15. fgcolor 1.00 1.00 1.00 1.00
  16. bgcolor 0.50 0.50 0.50 0.00
  17. borderstyle "NONE"
  18. statbar vertical_stagger_even
  19. playerstat 6 // clip ammo
  20. maxplayerstat 7 // max clip ammo
  21. //statbar_shader textures/hud/clip_thompson
  22. statbar_tileshader textures/hud/clip_rifle
  23. }
  24.  
  25. // this is the front one, and should be shifted up and to the left
  26. resource
  27. Label
  28. {
  29. name "clipbulletso"
  30. rect 209 80 64 160
  31. fgcolor 0.50 0.50 0.50 1.00
  32. bgcolor 0.50 0.50 0.50 0.00
  33. borderstyle "NONE"
  34. statbar vertical_stagger_odd
  35. playerstat 6 // clip ammo
  36. maxplayerstat 7 // max clip ammo
  37. //statbar_tileshader textures/hud/clip_thompson
  38. statbar_tileshader textures/hud/clip_rifle
  39. }
  40.  
  41. //==================================================
  42. // Ammo Count Seperator
  43.  
  44. resource
  45. Label
  46. {
  47. name "ammoseperator"
  48. title "|"
  49. //rect 160 117 8 18
  50. rect 160 229 8 18
  51. fgcolor 0.70 0.60 0.05 1.00
  52. bgcolor 0.50 0.50 0.50 0.00
  53. borderstyle "NONE"
  54. textalign centerx
  55. font facfont-20
  56. outlinedtext 1
  57. }
  58.  
  59. //==================================================
  60. // Total Ammo Count
  61.  
  62. resource
  63. Label
  64. {
  65. name "ammocount"
  66. //rect 168 117 32 18
  67. rect 168 229 32 18
  68. fgcolor 0.70 0.60 0.05 1.00
  69. bgcolor 0.50 0.50 0.50 0.00
  70. borderstyle "NONE"
  71. playerstat 4 // ammo
  72. textalign left
  73. font facfont-20
  74. outlinedtext 1
  75. }
  76.  
  77. //==================================================
  78. // Ammo Clip Count
  79.  
  80. resource
  81. Label
  82. {
  83. name "clipcount"
  84. //rect 128 117 32 18
  85. rect 128 229 32 18
  86. fgcolor 0.70 0.60 0.05 1.00
  87. bgcolor 0.50 0.50 0.50 0.00
  88. borderstyle "NONE"
  89. playerstat 6 // clip ammo
  90. textalign right
  91. font facfont-20
  92. outlinedtext 1
  93. }
  94.  
  95. //==================================================
  96. // Weapon Name Display
  97.  
  98. resource
  99. Label
  100. {
  101. name "weaponname"
  102. //rect 0 95 200 22
  103. rect 0 207 200 22
  104. fgcolor 0.70 0.60 0.05 1.00
  105. bgcolor 0.50 0.50 0.50 0.00
  106. borderstyle "NONE"
  107. itemstat 1 // equipped weapon
  108. textalign right
  109. font facfont-20
  110. outlinedtext 1
  111. }
  112.  
  113.  
  114. end.
  115.